package com.aspose.cells;

class zbnl extends CollectionBase {
   public zbnk a(int var1) {
      return (zbnk)this.a.get(var1);
   }

   int a(String var1, String var2) {
      for(int var3 = 0; var3 < this.getCount(); ++var3) {
         zbnk var4 = (zbnk)this.a.get(var3);
         if (com.aspose.cells.b.a.zv.a(var1, var4.a(), true) == 0 && com.aspose.cells.b.a.zv.a(var2, var4.b(), true) == 0) {
            return var3;
         }
      }

      zbnk var5 = new zbnk(var1, var2);
      com.aspose.cells.b.a.a.ze.a(this.a, (Object)var5);
      return this.getCount() - 1;
   }

   int a(String var1, String var2, String var3) {
      for(int var4 = 0; var4 < this.getCount(); ++var4) {
         zbnk var5 = (zbnk)this.a.get(var4);
         if (com.aspose.cells.b.a.zv.a(var1, var5.a(), true) == 0 && com.aspose.cells.b.a.zv.a(var2, var5.b(), true) == 0) {
            return var4;
         }
      }

      zbnk var6 = new zbnk(var1, var2);
      var6.a = var3;
      com.aspose.cells.b.a.a.ze.a(this.a, (Object)var6);
      return this.getCount() - 1;
   }

   int a(zbnk var1) {
      return this.a.indexOf(var1);
   }

   // $FF: synthetic method
   public Object get(int x0) {
      return this.a(x0);
   }
}
